from flask import Flask
#from flask import make_response
app=Flask(__name__)

#@app.route('/')
#def index():
#    return '<h1>Hello,world</h1>'

#@app.route('/user/<name>')
#def user(name):
#    return '<h1>Hello,%s!</h1>' % name

#@app.route('/')
#def index():
#   response=make_response('<h1>This documents carries a cookies!</h1>')
#    response.set_cookie('answer','42')
 #   return response

#if __name__=='__main__':
#    app.run(host='0.0.0.0',debug=True)

from flask.ext.script import Manager
manager=Manager(app)

@app.route('/')
def index():
    return '<h1>Hello,world</h1>'

if __name__=='__main__':
    manager.run()
